package com.example.xn.xndemo;

import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@NacosPropertySource(dataId = "dev_test",autoRefreshed = true)
@MapperScan(basePackages = "com.example.xn.xndemo.mapper")
@SpringBootApplication
public class XnDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(XnDemoApplication.class, args);
    }

}
